modelbutton: Install accels when inside a popover
authorMatthias Clasen <mclasen@redhat.com>
Tue, 24 Mar 2020 05:07:09 +0000 (01:07 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 26 Mar 2020 03:14:45 +0000 (23:14 -0400)
commitb19d4b9006f58dce1d98de2d1ccfeef511fe5df3
tree9e46febb1f39e1754508f112015349705bfec5bb
parent2c28a0713d076cd28f99bcf70da0043fa5a95b90
modelbutton: Install accels when inside a popover

When a model button in a popover displays a shortcut,
it is probably from the global shortcut controllers,
and will not work inside the popover, since that is
a different native. Install a shortcut using the same
trigger that just activates the model button. This
shortcut will end up in the managed shortcut controller
of the popover.
gtk/gtkmodelbutton.c